<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">

</head>
<body>
    <div class="container-fluid" style="margin-top: 80px;">
        <div class="row-fluid">
            <div class="span12">
                <h3 class="text-center text-success">
                    请登录
                </h3>
            </div>
            <div class="span12">
                <div class="row-fluid">
                    <div class="span4">
                    </div>
                    <div class="span4">
                        <form class="form-horizontal" th:action="@{/login}" method="post">
                            <div class="control-group">
                                <label class="control-label" for="inputEmail">账号</label>
                                <div class="controls">
                                    <input id="inputEmail" type="text" name="username" required/>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="inputPassword">密码</label>
                                <div class="controls">
                                    <input id="inputPassword" type="password" name="password" required/>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="se">用户</label>
                                <div class="controls">
                                    <select id="se" name="soa">
                                        <option value ="student">学生</option>
                                        <option value ="admin">管理员</option>
                                    </select>
                                </div>
                            </div>
                            <div class="control-group">
                                <div class="controls">
                                    <button type="submit" class="btn">登录</button>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="span4">
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>